/*
 * Copyright © 2023-2025 puyinzhen
 * All rights reserved.
 *
 * The copyright of this work (or idea/project/document) is owned by puyinzhen. Without explicit written permission, no part of this work may be reproduced, distributed, or modified in any form for commercial purposes.
 *
 * This copyright statement applies to, but is not limited to: concept descriptions, design documents, source code, images, presentation files, and any related content.
 *
 * For permission to use this work or any part of it, please contact 1182810784@qq.com to obtain written authorization.
 */
.bp-right {
  height: calc(100vh - 90px);
  width: 300px;
  background-color: #1E1E2F;
  border-left: 1px solid #3A3A4E;
  display: flex;
  flex-direction: column;
}

.node-config-empty-info {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #A0A0B2;
  font-size: 14px;
  line-height: 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.bp-node-config {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  .bp-node-config-header {
    padding: 16px 20px;
    border-bottom: 1px solid #3A3A4E;
    background-color: #2C2C3E;

    .bp-node-config-name {
      color: #FFFFFF;
      font-size: 16px;
      font-weight: 600;
      line-height: 24px;
      margin-bottom: 4px;
      font-family: 'Helvetica Neue', Arial, sans-serif;
    }

    .bp-node-config-info {
      color: #A0A0B2;
      font-size: 12px;
      line-height: 16px;
      font-family: 'Helvetica Neue', Arial, sans-serif;
    }
  }

  .bp-ap-info-list {
    padding: 16px 16px 0;
    //max-height: 400px;
    //overflow-y: auto;

    .accordion-header {
      padding: 12px 0;
      color: #FFFFFF;
      font-size: 14px;
      font-weight: 600;
      border-bottom: 1px solid #3A3A4E;
      margin-bottom: 12px;
    }

    .bp-ap-info-item {
      display: flex;
      align-items: center;
      padding: 10px 12px;
      margin-bottom: 8px;
      background-color: #2C2C3E;
      border-radius: 4px;
      border: 1px solid transparent;
      transition: all 0.2s ease;

      &:hover {
        background-color: #3A3A4E;
        border-color: #4FB8FF;
      }

      .bp-ap-info-type {
        color: #FFFFFF;
        font-size: 12px;
        line-height: 16px;
        padding: 2px 8px;
        border-radius: 4px;
        margin-right: 12px;
        font-family: 'Helvetica Neue', Arial, sans-serif;

        &.type-input {
          background-color: #7a4671;
        }

        &.type-output {
          background-color: #535785;
        }
      }

      .bp-ap-info-name {
        color: #FFFFFF;
        font-size: 14px;
        line-height: 20px;
        font-family: 'Helvetica Neue', Arial, sans-serif;
      }
    }
  }

  .bp-node-config-detail {
    padding: 0 16px 16px;

    .accordion-header {
      padding: 12px 0;
      color: #FFFFFF;
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .lc-accordion-body {
      background-color: #2C2C3E;
      border-radius: 4px;
      padding: 16px;
    }
  }
}